﻿<Window x:Class="WPF_Example2.MainWindow"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        Title="Hóa Đơn" Height="350" Width="525">
    <Grid>
        <Grid.RowDefinitions>
            <RowDefinition Height="30"/>
            <RowDefinition Height="30"/>
            <RowDefinition Height="30"/>
            <RowDefinition Height="30"/>
            <RowDefinition Height="*"/>
            <RowDefinition Height="50"/>
        </Grid.RowDefinitions>
        <Grid.ColumnDefinitions>
            <ColumnDefinition Width="Auto"/>
            <ColumnDefinition Width="*"/>
        </Grid.ColumnDefinitions>
        <Label Content="Số hóa đơn" Grid.Column="0" Grid.Row="0"/>
        <Label Content="Hàng hóa" Grid.Column="0" Grid.Row="1"/>
        <Label Content="Số lượng" Grid.Column="0" Grid.Row="2"/>
        <Label Content="Đơn giá" Grid.Column="0" Grid.Row="3"/>
        <Label Content="Diễn giải" Grid.Column="0" Grid.Row="4"/>
        <TextBox Grid.Column="1" Grid.Row="0" Margin="3,3,3,3"/>
        <ComboBox Grid.Column="1" Grid.Row="1" Margin="3,3,3,3"/>
        <TextBox Grid.Column="1" Grid.Row="2" Margin="3,3,3,3"/>
        <TextBox Grid.Column="1" Grid.Row="3" Margin="3,3,3,3"/>
        <TextBox Grid.Column="1" Grid.Row="4" Margin="3,3,3,3"/>
        <Button Content="Lưu" Grid.Column="1" Grid.Row="5" Margin="0,0,150,0" HorizontalAlignment="Right" Height="27" Width="100"/>
        <Button Content="Thoát" Grid.Column="1" Grid.Row="5" Margin="0,0,20,0" HorizontalAlignment="Right" Height="27" Width="100"/>
    </Grid>
</Window>
